package org.jeecg.modules.demo.manage.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 产品型号属性设置
 * @Author: jeecg-boot
 * @Date:   2024-11-24
 * @Version: V1.0
 */
@ApiModel(value="dz_material_sku_spec对象", description="产品型号属性设置")
@Data
@TableName("dz_material_sku_spec")
public class DzMaterialSkuSpec implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private String id;
	/**spuId*/
	@Excel(name = "spuId", width = 15)
    @ApiModelProperty(value = "spuId")
    private String spuId;
	/**dz_material_sku->id*/
    @ApiModelProperty(value = "dz_material_sku->id")
    private String skuId;
	/**specType*/
	@Excel(name = "specType", width = 15)
    @ApiModelProperty(value = "specType")
    private String specType;
	/**物料属性名称*/
	@Excel(name = "物料属性名称", width = 15, dictTable = "dz_material_spec", dicText = "name", dicCode = "id")
	@Dict(dictTable = "dz_material_spec", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "物料属性名称")
    private String specId;
	/**物料属性值*/
	@Excel(name = "物料属性值", width = 15)
    @ApiModelProperty(value = "物料属性值")
    private String specValue;
	/**specName*/
	@Excel(name = "specName", width = 15)
    @ApiModelProperty(value = "specName")
    private String specName;
    /**specName*/
    @Excel(name = "specNameEn", width = 15)
    @ApiModelProperty(value = "specNameEn")
    private String specNameEn;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private Integer orderNo;
	/**是否自定义 0-否；1-是；*/
	@Excel(name = "是否自定义 0-否；1-是；", width = 15)
    @ApiModelProperty(value = "是否自定义 0-否；1-是；")
    private Integer customFlag;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
